約 5,497,696 件
https://w.atwiki.jp/objcmemo/pages/65.html
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ エラーメッセージ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ error #include expects "xxx.h" or xxx.h の後は "xxx.h" か xxx.h と書く error default label not within a switch statement default が switch 文の外にある(switch 文を早く閉じてしまった可能性) error else without a previous if if がないのに else がある error for loop initial declaration used outside C99 mode for 文の中で制御変数が宣言されている(C++ や Java との混同) error xxx has no member named yyy 構造体 xxx には yyy というメンバーはない error xxx redeclared as different kind of symbol xxx が違う種類のシンボルとして二重に宣言されている error xxx undeclared (first use in this function) xxx が宣言されていない error xxx undeclared here (not in a function) xxx が宣言されていない error aggregate value used where a float was expected 浮動小数点型が来るはずのところに,構造体(集合体)が使われている error argument xxx doesn t match prototype xxx の型が関数プロトタイプと一致しない error array size missing in xxx xxx に配列のサイズが無い error array subscript is not an integer 配列の添字の型が整数型じゃない error array type has incomplete element type 配列の型が不完全 error assignment of read-only location (const 修飾子がついていて)読出専用のものに代入しようとしている error assignment of read-only member xxx (const 修飾子がついている構造体の)読出専用のメンバ xxx に代入しようとしている error assignment of read-only variable xxx (const 修飾子がついていて)読出専用の変数 xxx に代入しようとしている error break statement not within loop or switch 繰返しや switch 文以外の場所で break を使っている error called object xxx is not a function xxx は関数じゃないのに関数呼出しのように使っている error cannot convert to a pointer type ポインタ型へは変換できない error case label not within a switch statement switch 文の外で case を使っている(switch 文の括弧の対応がおかしい可能性大) error conflicting type qualifiers for xxx xxx の型修飾子に矛盾がある error conflicting types for xxx xxx の型に矛盾がある error conversion to non-scalar type requested スカラ型以外のものに型変換しようとしている error declaration for parameter xxx but no such parameter xxx の型の引数を宣言しているけど,そんな型は知らない error decrement of read-only location (const 修飾子がついていて)読出専用のものをデクリメントしようとしている error duplicate case value (switch 文の中の) case の値が重複している error duplicate member xxx 構造体のメンバの xxx が重複している error empty character constant 文字定数の中が空っぽ error empty filename in #include の後にファイル名が書かれていない error expected xxx at end of input プログラムの最後に xxx があるはずだが... error expected yyy before xxx (token) xxx の前に yyy があるはずだが... error expected xxx before numeric constant 数値定数の前に xxx があるはずだが... error expected xxx before string constant 文字定数の前に xxx があるはずだが... error expected declaration or statement at end of input まだ続いているはずだけどプログラムが終っちゃった(閉じ括弧をつけ忘れていた場合に起こりやすい) error expected declaration specifiers before xxx (token) xxx の前には宣言があるはずだが...(関数定義の "{" を忘れたときに起こりやすい) error expected declaration specifiers or ... before xxx (token) xxx の前には型に相当するものが来るはずだが... error expected expression at end of input プログラムの最後には式があるはずだが... error expected expression before xxx (token) xxx の前には式があるはずだが... error expected identifier at end of input プログラムの最後には識別子が来るはずだが... error expected identifier before xxx (token) xxx の前には識別子が来るはずだが... error expected identifier before numeric constant 数値定数の前には識別子が来るはずだが... error expected specifier-qualifier-list before xxx (token) xxx の前には型のリストが来るはずだが... error format string argument not a string type 書式指定の文字列が与えられていない error function definition declared typedef 関数定義に typedef がついてる (typedef の最後のセミコロンを忘れている場合など) error incompatible type for argument NNN of xxx 関数 xxx の NNN 番目の引数の型が(仮引数と実引数とで)合わない error incompatible types in assignment 代入で(左辺と右辺の)型が合わない error incompatible types in initialization 変数の初期化で(変数と値の)型が合わない error incompatible types in return returnで返す値の型と関数プロトタイプの戻り値の型が一致しない error increment of read-only location (const 修飾子がついていて)読出専用のものをインクリメントしようとしている error increment of read-only member xxx (const 修飾子がついている構造体の)読出専用のメンバ xxx をインクリメントしようとしている error increment of read-only variable xxx (const 修飾子がついていて)読出専用の変数 xxx をインクリメントしようとしている error initializer element is not constant 初期化式が定数式じゃない error invalid initializer 初期化式の不正 error invalid lvalue in assignment 代入の左辺が変数じゃない error invalid lvalue in decrement デクリメント演算子(--)が変数じゃないものに適用されている error invalid lvalue in increment インクリメント演算子(++)が変数じゃないものに適用されている error invalid lvalue in unary アドレス演算子( )が変数じゃないものに適用されている error invalid operands to binary xxx 二項演算子 xxx の引数の不正 error invalid preprocessing directive #xxx そんな #xxx なんて知らない(#include などの綴り間違いの可能性大) error invalid suffix "xxx" on integer constant 整数の後に xxx が付いている error invalid type argument of - ポインタから構造体のメンバを指定する - の使い方の誤り error invalid type argument of unary * 間接演算子(*)の使い型の誤り(*がポインタじゃないものに付いている) error invalid use of void expression キーワード void の使い方の誤り error label xxx used but not defined xxx というラベルを定義せずに使っている error lvalue required as decrement operand デクリメント演算子(--)の引数は変数じゃなきゃダメ error lvalue required as increment operand インクリメント演算子(++)の引数は変数じゃなきゃダメ error lvalue required as left operand of assignment 代入演算子(=)の左は変数じゃなきゃダメ error lvalue required as unary operand アドレス演算子( )の右に来るのは変数じゃなきゃダメ error missing terminating " character 文字列定数の終わりの「"」がない error missing terminating character 文字定数の終わりの「 」がない error multiple default labels in one switch switch 文に default が複数ある error number of arguments doesn t match prototype 関数プロトタイプ宣言と引数の数が違う error old-style parameter declarations in prototyped function definition 関数の引数リストの宣言の仕方が古いスタイル error parameter name omitted 引数名が省略されている error parameter NNN ( xxx ) has incomplete type NNN 番目の引数 xxx の型が不完全 error previous declaration of xxx was here xxx の前の宣言はココ (conflicting types for xxx とペアで出てくる) error previous definition of xxx was here xxx の前の定義はココ(関数を二重に定義しているような場合) error previous implicit declaration of xxx was here xxx の前の暗黙の宣言はココ error redeclaration of xxx with no linkage xxx が二重に宣言されている error redeclaration of enumerator xxx 列挙型 xxx が二重に宣言されている error redefinition of xxx xxx が二重に定義されている error redefinition of parameter xxx 仮引数 xxx が二重に定義されている error redefinition of typedef xxx xxx が二重に typedef されている error request for member xxx in something not a structure or union 構造体でないのに xxx というメンバを使っている error size of array xxx is too large 配列 xxx の要素数が大きすぎ error stray \xxx in program プログラム中で,文字列やコメント以外の場所に全角文字を使用した際によく出るエラー. 特に,全角空白を使用すると,見た目ではわからないので発見が難しいが, このエラーメッセージに示されている行を探すと見つかるはず. error subscripted value is neither array nor pointer 配列で(もポインタでも)ないものに添字([i]など)を使用している error switch quantity not an integer switch 文の()の中に整数以外のものが来ている(switch 文で扱えるのは値が整数になるもののみ) error syntax error at end of input プログラムの最後に構文エラーあり error syntax error before xxx (token) xxx の前に構文エラーあり error syntax error before numeric constant 数値定数の前に構文エラーあり error syntax error before string constant 文字列定数の前に構文エラーあり error too few arguments to function xxx 関数 xxx の呼び出しの際の引数(実引数)が少なすぎ error too many arguments to function xxx 関数 xxx の呼び出しの際の引数(実引数)が多すぎ error too many decimal points in number 数値に小数点が多すぎ(2個以上ついてる) error two or more data types in declaration specifiers 型宣言において複数の型が指定されている error unrecognized command line option "xxx" cc コマンドのオプションで xxx なんてのは知らない error unterminated comment コメントが終了していない error used struct type value where scalar is required (int 型や double 型などの)スカラ値が来なきゃいけないところに構造体を使っている error variable or field xxx declared void 変数 xxx の型が void 型になってる error variable-sized object may not be initialized 可変長のオブジェクトが初期化されていない可能性 error void value not ignored as it ought to be void 型(の関数の戻り値)を使おうとしている error wrong type argument to decrement デクリメント演算子(--)の引数の型が違う error wrong type argument to increment インクリメント演算子(++)の引数の型が違う error wrong type argument to unary exclamation mark 否定演算子(!)の引数の型が違う 【警告メッセージ】 warning "/*" within comment コメント中に /* があるけど... warning "XXX" redefined XXX を #define で重複して定義している warning return with a value, in function returning void 戻り値の型が void 型の関数なのに return で値を返している warning struct xxx declared inside parameter list struct xxx の宣言が引数リストの中で行なわれている warning xxx is used uninitialized in this function この関数内で xxx が初期化しないまま使われている warning xxx may be used uninitialized in this function この関数内で xxx が初期化しないまま使われている warning array subscript has type char 配列の添字の型が char 型(文字型)になっている warning assignment discards qualifiers from pointer target type 代入の際,代入元にあった型修飾子が捨てられた warning assignment from incompatible pointer type 互換性のないポインタ型からの代入 warning assignment makes integer from pointer without a cast ポインタを整数に(キャストなしで)代入しようとしている warning assignment makes pointer from integer without a cast 整数をポインタに(キャストなしで)代入しようとしている warning backslash and newline separated by space バックスラッシュ(\)と改行の間に空白がある (行が長すぎるとき,見やすくなるように改行して次の行に続けて書くんだけど,プログラムとしては 一行として扱って欲しい場合がある.そういった場合,前の行の行末にバックスラッシュ(\)を入れてそ の直後で改行してやれば,後続の行は「継続行」となり一行として扱ってくれる.ところが,バックス ラッシュと改行の間に空白文字などの目に見えない余計なものが入っていると継続行とはならないの で,それに対する注意.) warning cast from pointer to integer of different size ポインタをサイズの異なる整数にキャストしている warning character constant too long for its type 文字定数が長すぎ(文字定数と文字列定数の混同?) warning comparison between pointer and integer ポインタと整数を比較している warning comparison is always false due to limited range of data type データ型の範囲の制限により,比較結果はつねに偽(false)になる warning comparison is always true due to limited range of data type データ型の範囲の制限により,比較結果はつねに真(true)になる warning comparison of distinct pointer types lacks a cast 異ったポインタ型を比較している warning conflicting types for xxx xxx の型に矛盾がある warning conflicting types for built-in function xxx 組込み関数 xxx の型に矛盾がある warning control reaches end of non-void function 値を返す関数なのに,return なしに関数の終わりまで来ちゃった warning data definition has no type or storage class データの定義に型or記憶クラスがない(typedef struct ... のあたりで間違えている可能性大) warning excess elements in scalar initializer 初期化式中の要素が多すぎ warning format %xxx expects type yyy , but argument NNN has type zzz printf の書式の %xxx には yyy の型を与えなきゃいけないけど,NNN 番目の引数で zzz の型を与えている warning function returns address of local variable (関数内で宣言した)局所変数のアドレスを return で返している warning implicit declaration of function xxx 関数 xxx の暗黙のプロトタイプ宣言 warning incompatible implicit declaration of built-in function xxx 関数 xxx の暗黙のプロトタイプ宣言が不整合(プロトタイプ宣言を忘れたときに起こる) warning initialization from incompatible pointer type ポインタ変数の初期化式が不整合 warning initialization makes integer from pointer without a cast 整数の変数の初期化式にポインタを与えている warning initialization makes pointer from integer without a cast ポインタ変数の初期化式に整数を与えている warning initializer-string for array of chars is too long 文字配列の初期化用の文字列が長すぎ(配列の長さを超えている) warning left-hand operand of comma expression has no effect カンマ演算子(,)の左側は何の効果もない warning missing whitespace after the macro name #define する記号名の後には空白文字(スペース記号,タブ,改行など)が必要 warning multi-character character constant 文字列定数なのに複数文字がある ( \0 と書くべきところを /0 と書いてしまった場合など) warning no newline at end of file ファイルの最後に改行がない warning no semicolon at end of struct or union 構造体の定義の最後にセミコロンがない warning overflow in implicit constant conversion 定数の暗黙の変換でオーバーフローが起きた warning parameter names (without types) in function declaration 関数の引数が名前だけで型が指定されていない(int x と書くべきところを x とだけ書いた場合など) warning passing argument NNN of xxx discards qualifiers from pointer target type 関数 xxx の NNN 番目の引数で渡したポインタの修飾子(qualifires)を放棄した warning passing argument NNN of xxx from incompatible pointer type 関数 xxx の NNN 番目の引数に一致しないポインタ型が渡されている warning passing argument NNN of xxx makes integer from pointer without a cast 関数 xxx の NNN 番目の引数でポインタが要求されているところに整数を渡した warning passing argument NNN of xxx makes pointer from integer without a cast 関数 xxx の NNN 番目の引数に渡した整数がキャストなしでポインタにされている (仮引数はポインタなのに実引数として整数を渡している) warning previous declaration of xxx was here xxx の前の宣言はココ (conflicting types for xxx とペアで出てくる) warning previous implicit declaration of xxx was here xxx の前の暗黙の宣言はココ warning return from incompatible pointer type 型の一致しないポインタ型を返そうとしている warning return makes integer from pointer without a cast 整数を返すべきところでポインタを返している warning return makes pointer from integer without a cast ポインタを返すべきところで整数を返している warning return type defaults to int (戻り値の型がないので)戻り値の型をint型にした warning return type of main is not int main 関数の戻り値の型が int になってない warning statement with no effect この文は何の効果もない(値を計算しているだけで捨てていて,何にも代入していない可能性大) warning suggest explicit braces to avoid ambiguous else (if 文の入れ子で) else の範囲が曖昧なので,明示的に括弧({ と })をつけた方が良い warning suggest parentheses around assignment used as truth value 代入した値を条件式の中で使う場合は括弧で囲む方が良い(== を = に間違えた場合などに発生) warning the `gets function is dangerous and should not be used. 関数 gets は危険なので使うべきじゃない warning too few arguments for format printf 中にある(%d などの)書式指定の数に比べて,引数で与えたものの数が少なすぎ warning too many arguments for format printf 中にある(%d などの)書式指定の数に比べて,引数で与えたものの数が多すぎ warning unknown escape sequence \xxx \xxx なんていうエスケープ文字は知らない warning unused variable xxx 変数 xxx を宣言してるけど使っていない warning value computed is not used 計算した値を使っていない 【その他】 filename.c (.text+0x???) undefined reference to xxx collect2 ld returned 1 exit status xxx という関数を使っているが,作成されていないときに起きるエラー 本当に作っていない場合の他に,関数名を間違えている場合にも起きる テキスト形式の添付ファイル[スキャンして保存 | Yahoo!ボックスに保存] 【エラーメッセージ】 error #include expects "xxx.h" or xxx.h の後は "xxx.h" か xxx.h と書く error default label not within a switch statement default が switch 文の外にある(switch 文を早く閉じてしまった可能性) error else without a previous if if がないのに else がある error for loop initial declaration used outside C99 mode for 文の中で制御変数が宣言されている(C++ や Java との混同) error xxx has no member named yyy 構造体 xxx には yyy というメンバーはない error xxx redeclared as different kind of symbol xxx が違う種類のシンボルとして二重に宣言されている error xxx undeclared (first use in this function) xxx が宣言されていない error xxx undeclared here (not in a function) xxx が宣言されていない error aggregate value used where a float was expected 浮動小数点型が来るはずのところに,構造体(集合体)が使われている error argument xxx doesn t match prototype xxx の型が関数プロトタイプと一致しない error array size missing in xxx xxx に配列のサイズが無い error array subscript is not an integer 配列の添字の型が整数型じゃない error array type has incomplete element type 配列の型が不完全 error assignment of read-only location (const 修飾子がついていて)読出専用のものに代入しようとしている error assignment of read-only member xxx (const 修飾子がついている構造体の)読出専用のメンバ xxx に代入しようとしている error assignment of read-only variable xxx (const 修飾子がついていて)読出専用の変数 xxx に代入しようとしている error break statement not within loop or switch 繰返しや switch 文以外の場所で break を使っている error called object xxx is not a function xxx は関数じゃないのに関数呼出しのように使っている error cannot convert to a pointer type ポインタ型へは変換できない error case label not within a switch statement switch 文の外で case を使っている(switch 文の括弧の対応がおかしい可能性大) error conflicting type qualifiers for xxx xxx の型修飾子に矛盾がある error conflicting types for xxx xxx の型に矛盾がある error conversion to non-scalar type requested スカラ型以外のものに型変換しようとしている error declaration for parameter xxx but no such parameter xxx の型の引数を宣言しているけど,そんな型は知らない error decrement of read-only location (const 修飾子がついていて)読出専用のものをデクリメントしようとしている error duplicate case value (switch 文の中の) case の値が重複している error duplicate member xxx 構造体のメンバの xxx が重複している error empty character constant 文字定数の中が空っぽ error empty filename in #include の後にファイル名が書かれていない error expected xxx at end of input プログラムの最後に xxx があるはずだが... error expected yyy before xxx (token) xxx の前に yyy があるはずだが... error expected xxx before numeric constant 数値定数の前に xxx があるはずだが... error expected xxx before string constant 文字定数の前に xxx があるはずだが... error expected declaration or statement at end of input まだ続いているはずだけどプログラムが終っちゃった(閉じ括弧をつけ忘れていた場合に起こりやすい) error expected declaration specifiers before xxx (token) xxx の前には宣言があるはずだが...(関数定義の "{" を忘れたときに起こりやすい) error expected declaration specifiers or ... before xxx (token) xxx の前には型に相当するものが来るはずだが... error expected expression at end of input プログラムの最後には式があるはずだが... error expected expression before xxx (token) xxx の前には式があるはずだが... error expected identifier at end of input プログラムの最後には識別子が来るはずだが... error expected identifier before xxx (token) xxx の前には識別子が来るはずだが... error expected identifier before numeric constant 数値定数の前には識別子が来るはずだが... error expected specifier-qualifier-list before xxx (token) xxx の前には型のリストが来るはずだが... error format string argument not a string type 書式指定の文字列が与えられていない error function definition declared typedef 関数定義に typedef がついてる (typedef の最後のセミコロンを忘れている場合など) error incompatible type for argument NNN of xxx 関数 xxx の NNN 番目の引数の型が(仮引数と実引数とで)合わない error incompatible types in assignment 代入で(左辺と右辺の)型が合わない error incompatible types in initialization 変数の初期化で(変数と値の)型が合わない error incompatible types in return returnで返す値の型と関数プロトタイプの戻り値の型が一致しない error increment of read-only location (const 修飾子がついていて)読出専用のものをインクリメントしようとしている error increment of read-only member xxx (const 修飾子がついている構造体の)読出専用のメンバ xxx をインクリメントしようとしている error increment of read-only variable xxx (const 修飾子がついていて)読出専用の変数 xxx をインクリメントしようとしている error initializer element is not constant 初期化式が定数式じゃない error invalid initializer 初期化式の不正 error invalid lvalue in assignment 代入の左辺が変数じゃない error invalid lvalue in decrement デクリメント演算子(--)が変数じゃないものに適用されている error invalid lvalue in increment インクリメント演算子(++)が変数じゃないものに適用されている error invalid lvalue in unary アドレス演算子( )が変数じゃないものに適用されている error invalid operands to binary xxx 二項演算子 xxx の引数の不正 error invalid preprocessing directive #xxx そんな #xxx なんて知らない(#include などの綴り間違いの可能性大) error invalid suffix "xxx" on integer constant 整数の後に xxx が付いている error invalid type argument of - ポインタから構造体のメンバを指定する - の使い方の誤り error invalid type argument of unary * 間接演算子(*)の使い型の誤り(*がポインタじゃないものに付いている) error invalid use of void expression キーワード void の使い方の誤り error label xxx used but not defined xxx というラベルを定義せずに使っている error lvalue required as decrement operand デクリメント演算子(--)の引数は変数じゃなきゃダメ error lvalue required as increment operand インクリメント演算子(++)の引数は変数じゃなきゃダメ error lvalue required as left operand of assignment 代入演算子(=)の左は変数じゃなきゃダメ error lvalue required as unary operand アドレス演算子( )の右に来るのは変数じゃなきゃダメ error missing terminating " character 文字列定数の終わりの「"」がない error missing terminating character 文字定数の終わりの「 」がない error multiple default labels in one switch switch 文に default が複数ある error number of arguments doesn t match prototype 関数プロトタイプ宣言と引数の数が違う error old-style parameter declarations in prototyped function definition 関数の引数リストの宣言の仕方が古いスタイル error parameter name omitted 引数名が省略されている error parameter NNN ( xxx ) has incomplete type NNN 番目の引数 xxx の型が不完全 error previous declaration of xxx was here xxx の前の宣言はココ (conflicting types for xxx とペアで出てくる) error previous definition of xxx was here xxx の前の定義はココ(関数を二重に定義しているような場合) error previous implicit declaration of xxx was here xxx の前の暗黙の宣言はココ error redeclaration of xxx with no linkage xxx が二重に宣言されている error redeclaration of enumerator xxx 列挙型 xxx が二重に宣言されている error redefinition of xxx xxx が二重に定義されている error redefinition of parameter xxx 仮引数 xxx が二重に定義されている error redefinition of typedef xxx xxx が二重に typedef されている error request for member xxx in something not a structure or union 構造体でないのに xxx というメンバを使っている error size of array xxx is too large 配列 xxx の要素数が大きすぎ error stray \xxx in program プログラム中で,文字列やコメント以外の場所に全角文字を使用した際によく出るエラー. 特に,全角空白を使用すると,見た目ではわからないので発見が難しいが, このエラーメッセージに示されている行を探すと見つかるはず. error subscripted value is neither array nor pointer 配列で(もポインタでも)ないものに添字([i]など)を使用している error switch quantity not an integer switch 文の()の中に整数以外のものが来ている(switch 文で扱えるのは値が整数になるもののみ) error syntax error at end of input プログラムの最後に構文エラーあり error syntax error before xxx (token) xxx の前に構文エラーあり error syntax error before numeric constant 数値定数の前に構文エラーあり error syntax error before string constant 文字列定数の前に構文エラーあり error too few arguments to function xxx 関数 xxx の呼び出しの際の引数(実引数)が少なすぎ error too many arguments to function xxx 関数 xxx の呼び出しの際の引数(実引数)が多すぎ error too many decimal points in number 数値に小数点が多すぎ(2個以上ついてる) error two or more data types in declaration specifiers 型宣言において複数の型が指定されている error unrecognized command line option "xxx" cc コマンドのオプションで xxx なんてのは知らない error unterminated comment コメントが終了していない error used struct type value where scalar is required (int 型や double 型などの)スカラ値が来なきゃいけないところに構造体を使っている error variable or field xxx declared void 変数 xxx の型が void 型になってる error variable-sized object may not be initialized 可変長のオブジェクトが初期化されていない可能性 error void value not ignored as it ought to be void 型(の関数の戻り値)を使おうとしている error wrong type argument to decrement デクリメント演算子(--)の引数の型が違う error wrong type argument to increment インクリメント演算子(++)の引数の型が違う error wrong type argument to unary exclamation mark 否定演算子(!)の引数の型が違う 【警告メッセージ】 warning "/*" within comment コメント中に /* があるけど... warning "XXX" redefined XXX を #define で重複して定義している warning return with a value, in function returning void 戻り値の型が void 型の関数なのに return で値を返している warning struct xxx declared inside parameter list struct xxx の宣言が引数リストの中で行なわれている warning xxx is used uninitialized in this function この関数内で xxx が初期化しないまま使われている warning xxx may be used uninitialized in this function この関数内で xxx が初期化しないまま使われている warning array subscript has type char 配列の添字の型が char 型(文字型)になっている warning assignment discards qualifiers from pointer target type 代入の際,代入元にあった型修飾子が捨てられた warning assignment from incompatible pointer type 互換性のないポインタ型からの代入 warning assignment makes integer from pointer without a cast ポインタを整数に(キャストなしで)代入しようとしている warning assignment makes pointer from integer without a cast 整数をポインタに(キャストなしで)代入しようとしている warning backslash and newline separated by space バックスラッシュ(\)と改行の間に空白がある (行が長すぎるとき,見やすくなるように改行して次の行に続けて書くんだけど,プログラムとしては 一行として扱って欲しい場合がある.そういった場合,前の行の行末にバックスラッシュ(\)を入れてそ の直後で改行してやれば,後続の行は「継続行」となり一行として扱ってくれる.ところが,バックス ラッシュと改行の間に空白文字などの目に見えない余計なものが入っていると継続行とはならないの で,それに対する注意.) warning cast from pointer to integer of different size ポインタをサイズの異なる整数にキャストしている warning character constant too long for its type 文字定数が長すぎ(文字定数と文字列定数の混同?) warning comparison between pointer and integer ポインタと整数を比較している warning comparison is always false due to limited range of data type データ型の範囲の制限により,比較結果はつねに偽(false)になる warning comparison is always true due to limited range of data type データ型の範囲の制限により,比較結果はつねに真(true)になる warning comparison of distinct pointer types lacks a cast 異ったポインタ型を比較している warning conflicting types for xxx xxx の型に矛盾がある warning conflicting types for built-in function xxx 組込み関数 xxx の型に矛盾がある warning control reaches end of non-void function 値を返す関数なのに,return なしに関数の終わりまで来ちゃった warning data definition has no type or storage class データの定義に型or記憶クラスがない(typedef struct ... のあたりで間違えている可能性大) warning excess elements in scalar initializer 初期化式中の要素が多すぎ warning format %xxx expects type yyy , but argument NNN has type zzz printf の書式の %xxx には yyy の型を与えなきゃいけないけど,NNN 番目の引数で zzz の型を与えている warning function returns address of local variable (関数内で宣言した)局所変数のアドレスを return で返している warning implicit declaration of function xxx 関数 xxx の暗黙のプロトタイプ宣言 warning incompatible implicit declaration of built-in function xxx 関数 xxx の暗黙のプロトタイプ宣言が不整合(プロトタイプ宣言を忘れたときに起こる) warning initialization from incompatible pointer type ポインタ変数の初期化式が不整合 warning initialization makes integer from pointer without a cast 整数の変数の初期化式にポインタを与えている warning initialization makes pointer from integer without a cast ポインタ変数の初期化式に整数を与えている warning initializer-string for array of chars is too long 文字配列の初期化用の文字列が長すぎ(配列の長さを超えている) warning left-hand operand of comma expression has no effect カンマ演算子(,)の左側は何の効果もない warning missing whitespace after the macro name #define する記号名の後には空白文字(スペース記号,タブ,改行など)が必要 warning multi-character character constant 文字列定数なのに複数文字がある ( \0 と書くべきところを /0 と書いてしまった場合など) warning no newline at end of file ファイルの最後に改行がない warning no semicolon at end of struct or union 構造体の定義の最後にセミコロンがない warning overflow in implicit constant conversion 定数の暗黙の変換でオーバーフローが起きた warning parameter names (without types) in function declaration 関数の引数が名前だけで型が指定されていない(int x と書くべきところを x とだけ書いた場合など) warning passing argument NNN of xxx discards qualifiers from pointer target type 関数 xxx の NNN 番目の引数で渡したポインタの修飾子(qualifires)を放棄した warning passing argument NNN of xxx from incompatible pointer type 関数 xxx の NNN 番目の引数に一致しないポインタ型が渡されている warning passing argument NNN of xxx makes integer from pointer without a cast 関数 xxx の NNN 番目の引数でポインタが要求されているところに整数を渡した warning passing argument NNN of xxx makes pointer from integer without a cast 関数 xxx の NNN 番目の引数に渡した整数がキャストなしでポインタにされている (仮引数はポインタなのに実引数として整数を渡している) warning previous declaration of xxx was here xxx の前の宣言はココ (conflicting types for xxx とペアで出てくる) warning previous implicit declaration of xxx was here xxx の前の暗黙の宣言はココ warning return from incompatible pointer type 型の一致しないポインタ型を返そうとしている warning return makes integer from pointer without a cast 整数を返すべきところでポインタを返している warning return makes pointer from integer without a cast ポインタを返すべきところで整数を返している warning return type defaults to int (戻り値の型がないので)戻り値の型をint型にした warning return type of main is not int main 関数の戻り値の型が int になってない warning statement with no effect この文は何の効果もない(値を計算しているだけで捨てていて,何にも代入していない可能性大) warning suggest explicit braces to avoid ambiguous else (if 文の入れ子で) else の範囲が曖昧なので,明示的に括弧({ と })をつけた方が良い warning suggest parentheses around assignment used as truth value 代入した値を条件式の中で使う場合は括弧で囲む方が良い(== を = に間違えた場合などに発生) warning the `gets function is dangerous and should not be used. 関数 gets は危険なので使うべきじゃない warning too few arguments for format printf 中にある(%d などの)書式指定の数に比べて,引数で与えたものの数が少なすぎ warning too many arguments for format printf 中にある(%d などの)書式指定の数に比べて,引数で与えたものの数が多すぎ warning unknown escape sequence \xxx \xxx なんていうエスケープ文字は知らない warning unused variable xxx 変数 xxx を宣言してるけど使っていない warning value computed is not used 計算した値を使っていない 【その他】 filename.c (.text+0x???) undefined reference to xxx collect2 ld returned 1 exit status xxx という関数を使っているが,作成されていないときに起きるエラー 本当に作っていない場合の他に,関数名を間違えている場合にも起きる
https://w.atwiki.jp/opengles/pages/29.html
enum GetError( void ); //Returns one of the following INVALID_ENUM Enum argument out of range INVALID_FRAMEBUFFER_OPERATION Framebuffer is incomplete INVALID_VALUE Numeric argument out of range INVALID_OPERATION Operation illegal in current state OUT_OF_MEMORY Not enough memory left to execute command NO_ERROR No error encountered
https://w.atwiki.jp/zinrorpg/pages/92.html
リンク https //dova-s.jp/bgm/play6838.html 概要 フリー音源サイトDOVA-SYNDROMEのBGMの一つ。 人狼RPGではワイテルズの動画のもうすぐで決着がつくときに流れるBGMである。 この曲の中盤あたりで、どこかの陣営の勝利が表示される。 ただ、明らかにここからすぐには逆転出来ない状況(村人1人VS人狼3人 など)でこのBGMが流れると、結果が目に見えて分かってしまうので、ネタバレBGMでもある。
https://w.atwiki.jp/kojiro/pages/581.html
ROUTE.DOCUMENT
https://w.atwiki.jp/sasasa123/pages/743.html
Failed TST テト譜 5巡目最少パフェパターン 5巡目テトリスパフェ(85.32%)最少パターン 5巡目TSSパフェ(16.87%)パターン 5巡目TSDパフェ(8.73%)パターン 3巡目(91.27%)最少パフェパターン このテンプレのポイント OSZ土台 片側セットアップ率70.28% 左右反転込みセットアップ率81.11% 2巡目のTST、3巡目と4巡目のTSD、5巡目のパフェが確定 T-Spinを除く確定ソフトドロップは4巡目のJミノだけ このテンプレの弱み 1巡目が不確定なのでET砲のように扱うことができない 派生一覧 テンプレ概要 類似関係 外部サイト その他
https://w.atwiki.jp/hikipuro/pages/79.html
定数 EPERM 1 Operation not permitted ENOENT 2 No such file or directory ESRCH 3 No such process EINTR 4 Interrupted system call EIO 5 I/O error ENXIO 6 No such device or address E2BIG 7 Arg list too long ENOEXEC 8 Exec format error EBADF 9 Bad file number ECHILD 10 No child processes EAGAIN 11 Try again ENOMEM 12 Out of memory EACCES 13 Permission denied EFAULT 14 Bad address ENOTBLK 15 Block device required EBUSY 16 Device or resource busy EEXIST 17 File exists EXDEV 18 Cross-device link ENODEV 19 No such device ENOTDIR 20 Not a directory EISDIR 21 Is a directory EINVAL 22 Invalid argument ENFILE 23 File table overflow EMFILE 24 Too many open files ENOTTY 25 Not a typewriter ETXTBSY 26 Text file busy EFBIG 27 File too large ENOSPC 28 No space left on device ESPIPE 29 Illegal seek EROFS 30 Read-only file system EMLINK 31 Too many links EPIPE 32 Broken pipe EDOM 33 Math argument out of domain of func ERANGE 34 Math result not representable EDEADLK 35 Resource deadlock would occur ENAMETOOLONG 36 File name too long ENOLCK 37 No record locks available ENOSYS 38 Function not implemented ENOTEMPTY 39 Directory not empty ELOOP 40 Too many symbolic links encountered EWOULDBLOCK EAGAIN Operation would block ENOMSG 42 No message of desired type EIDRM 43 Identifier removed ECHRNG 44 Channel number out of range EL2NSYNC 45 Level 2 not synchronized EL3HLT 46 Level 3 halted EL3RST 47 Level 3 reset ELNRNG 48 Link number out of range EUNATCH 49 Protocol driver not attached ENOCSI 50 No CSI structure available EL2HLT 51 Level 2 halted EBADE 52 Invalid exchange EBADR 53 Invalid request descriptor EXFULL 54 Exchange full ENOANO 55 No anode EBADRQC 56 Invalid request code EBADSLT 57 Invalid slot EDEADLOCK EDEADLK EBFONT 59 Bad font file format ENOSTR 60 Device not a stream ENODATA 61 No data available ETIME 62 Timer expired ENOSR 63 Out of streams resources ENONET 64 Machine is not on the network ENOPKG 65 Package not installed EREMOTE 66 Object is remote ENOLINK 67 Link has been severed EADV 68 Advertise error ESRMNT 69 Srmount error ECOMM 70 Communication error on send EPROTO 71 Protocol error EMULTIHOP 72 Multihop attempted EDOTDOT 73 RFS specific error EBADMSG 74 Not a data message EOVERFLOW 75 Value too large for defined data type ENOTUNIQ 76 Name not unique on network EBADFD 77 File descriptor in bad state EREMCHG 78 Remote address changed ELIBACC 79 Can not access a needed shared library ELIBBAD 80 Accessing a corrupted shared library ELIBSCN 81 .lib section in a.out corrupted ELIBMAX 82 Attempting to link in too many shared libraries ELIBEXEC 83 Cannot exec a shared library directly EILSEQ 84 Illegal byte sequence ERESTART 85 Interrupted system call should be restarted ESTRPIPE 86 Streams pipe error EUSERS 87 Too many users ENOTSOCK 88 Socket operation on non-socket EDESTADDRREQ 89 Destination address required EMSGSIZE 90 Message too long EPROTOTYPE 91 Protocol wrong type for socket ENOPROTOOPT 92 Protocol not available EPROTONOSUPPORT 93 Protocol not supported ESOCKTNOSUPPORT 94 Socket type not supported EOPNOTSUPP 95 Operation not supported on transport endpoint EPFNOSUPPORT 96 Protocol family not supported EAFNOSUPPORT 97 Address family not supported by protocol EADDRINUSE 98 Address already in use EADDRNOTAVAIL 99 Cannot assign requested address ENETDOWN 100 Network is down ENETUNREACH 101 Network is unreachable ENETRESET 102 Network dropped connection because of reset ECONNABORTED 103 Software caused connection abort ECONNRESET 104 Connection reset by peer ENOBUFS 105 No buffer space available EISCONN 106 Transport endpoint is already connected ENOTCONN 107 Transport endpoint is not connected ESHUTDOWN 108 Cannot send after transport endpoint shutdown ETOOMANYREFS 109 Too many references cannot splice ETIMEDOUT 110 Connection timed out ECONNREFUSED 111 Connection refused EHOSTDOWN 112 Host is down EHOSTUNREACH 113 No route to host EALREADY 114 Operation already in progress EINPROGRESS 115 Operation now in progress ESTALE 116 Stale NFS file handle EUCLEAN 117 Structure needs cleaning ENOTNAM 118 Not a XENIX named type file ENAVAIL 119 No XENIX semaphores available EISNAM 120 Is a named type file EREMOTEIO 121 Remote I/O error EDQUOT 122 Quota exceeded ENOMEDIUM 123 No medium found EMEDIUMTYPE 124 Wrong medium type
https://w.atwiki.jp/gtav/pages/1916.html
US Route 11(国道11号線) imageプラグインエラー 画像URLまたは画像ファイル名を指定してください。 概要 日本語:国道11号線 業種:国道 所在地:ブレイン郡 解説 起点はリッチマンのN Rockford Driveの合流から。 終点はラゴザンクードのRoute 68の交差点まで。 国道11号線の別名称は Tongva Drive(トングバドライブ) モデルはカリフォルニア州にあるTopanga Canyon Boulevard 。 路線 道路番号 道路名 地名 備考(道路沿いの主な建築物など) US Route 14旧道14号線 ノース・ロックフォード・ドライブ Richman US Route 11国道11号線 US Route 11 Richman Ace Jones Driveとの交差点。 Richman Glen Banham Canyon Driveとの交差点。Marlow Driveとの交差点。LTD Oilリッチマングレン店 Tongva Valley 名称不明の川およびWhite Water Activity Center。パーキングエリア。 Lago Zancudo US Route 68国道68号線 Route 68 道路
https://w.atwiki.jp/it_certification/pages/198.html
1. 目的 2. 構成2.1. 設定概要 2.2. 構成図 2.3. netファイル 2.4. 初期設定 3. [検証] フレームリレースイッチの作成3.1. 設定投入 3.2. ルーティングの確認 4. [検証] フレームリレーの基本設定4.1. 設定投入 4.2. 設定確認 4.3. 疎通確認 5. [検証] パケットの観察5.1. パケットの観察 6. [検証] inverse ARPの動作確認6.1. 概要 6.2. 検証準備 6.3. 疎通不能の確認 6.4. inverse ARP の確認 7. [検証] inverse ARP 無効時の設定7.1. 設定投入 7.2. 設定確認 7.3. 疎通確認 8. [補足] フレームリレーのパケットキャプチャ8.1. フレームリレーのパケットキャプチャ 9. [補足] 設定ミス時の挙動9.1. LMIが異なる場合 9.2. DCE, DTEが同じである場合 1. 目的 物理I/Fに対するframe-relayの設定方法を確認します。 2. 構成 2.1. 設定概要 SW1, SW2をフレームリレースイッチとして代用します。 2.2. 構成図 2.3. netファイル model = 3620 [localhost] [[3620]] image = C \Program Files\Dynamips\images\c3620-j1s3-mz.123-18.bin ram = 128 [[ROUTER R1]] s0/0 = SW1 s0/0 s0/1 = SW1 s0/1 [[ROUTER SW1]] s0/2 = SW2 s0/2 [[ROUTER SW2]] s0/0 = R2 s0/0 s0/1 = R2 s0/1 [[ROUTER R2]] 2.4. 初期設定 R1 デフォルト設定 SW1 デフォルト設定 SW2 デフォルト設定 R2 デフォルト設定 3. [検証] フレームリレースイッチの作成 3.1. 設定投入 ルータをフレームリレースイッチとして代用する事ができます。 SW1に投入する設定は以下の通りです。 Router(config)#hostname SW1 SW1(config)# SW1(config)#frame-relay switching SW1(config)# SW1(config)#interface Serial 0/0 SW1(config-if)#encapsulation frame-relay SW1(config-if)#frame-relay lmi-type cisco - LMIを指定します。デフォルトはciscoですので、ciscoを使用する場合は省略可能です。 SW1(config-if)#clock rate 6420 - clock rateを指定します。実機では必須の設定ですが、dynagenなどの仮想環境では設定を省いても疎通可能です。 SW1(config-if)#frame-relay intf-type dce SW1(config-if)#frame-relay route 101 interface Serial 0/2 112 SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)# SW1(config)#interface Serial 0/1 SW1(config-if)#encapsulation frame-relay SW1(config-if)#clock rate 6420 SW1(config-if)#frame-relay intf-type dce SW1(config-if)#frame-relay route 201 interface Serial 0/2 212 SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)# SW1(config)#interface Serial 0/2 SW1(config-if)#encapsulation frame-relay SW1(config-if)#frame-relay intf-type dte - SW1側をDTE, SW2側をDCEとします。 SW1(config-if)#frame-relay route 112 interface Serial 0/0 101 SW1(config-if)#frame-relay route 212 interface Serial 0/0 201 SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)# SW1(config)# SW2に投入する設定は以下の通りです。 Router(config)#hostname SW2 SW2(config)# SW2(config)#frame-relay switching SW2(config)# SW2(config)#interface Serial 0/0 SW2(config-if)#encapsulation frame-relay SW2(config-if)#clock rate 6420 SW2(config-if)#frame-relay intf-type dce SW2(config-if)#frame-relay route 102 interface Serial 0/2 112 SW2(config-if)#no shutdown SW2(config-if)#exit SW2(config)# SW2(config)#interface Serial 0/1 SW2(config-if)#encapsulation frame-relay SW2(config-if)#clock rate 6420 SW2(config-if)#frame-relay intf-type dce SW2(config-if)#frame-relay route 202 interface Serial 0/2 212 SW2(config-if)#no shutdown SW2(config-if)#exit SW2(config)# SW2(config)#interface Serial 0/2 SW2(config-if)#encapsulation frame-relay SW2(config-if)#clock rate 6420 SW2(config-if)#frame-relay intf-type dce - SW1側をDTE, SW2側をDCEとします。 SW2(config-if)#frame-relay route 112 interface Serial 0/0 102 SW2(config-if)#frame-relay route 212 interface Serial 0/1 202 SW2(config-if)#no shutdown SW2(config-if)#exit SW2(config)# SW2(config)# 3.2. ルーティングの確認 フレームリレースイッチはDLCIというタグ情報に基づいて、ルーティングします。「どんなDLCIが付加されたパケットが、どのI/Fから入って来たか」という情報に基づき、「どんなDLCIを付加し、どのI/Fから転送すれば良いのか」を決定します。 ルーティングに関する設定は、show frame-relay routeコマンドで確認できます。 SW1#show frame-relay route Input Intf Input Dlci Output Intf Output Dlci Status Serial0/0 101 Serial0/2 112 active Serial0/1 201 Serial0/2 212 active Serial0/2 112 Serial0/0 101 inactive Serial0/2 212 Serial0/1 201 inactive SW1# SW2#show frame-relay route Input Intf Input Dlci Output Intf Output Dlci Status Serial0/0 102 Serial0/2 112 active Serial0/1 202 Serial0/2 212 active Serial0/2 112 Serial0/0 102 inactive Serial0/2 212 Serial0/1 202 inactive SW2# 4. [検証] フレームリレーの基本設定 4.1. 設定投入 R1, R2間で疎通可能になるよう設定します。 R1, R2に以下の設定を投入します。 R1(config)#interface Serial 0/0 R1(config-if)#encapsulation frame-relay R1(config-if)#frame-relay lmi-type cisco - LMIを指定します。デフォルトはciscoですので、ciscoを使用する場合は省略可能です。 R1(config-if)#frame-relay inverse-arp - inverse-arpを有効にします。デフォルトで有効な機能ですので、省略可能な設定です。 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)# R1(config)#interface Serial 0/1 R1(config-if)#encapsulation frame-relay R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)# Router(config)#hostname R2 R2(config)#interface Serial 0/0 R2(config-if)#encapsulation frame-relay R2(config-if)#ip address 192.168.1.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)# R2(config)#interface Serial 0/1 R2(config-if)#encapsulation frame-relay R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)# 4.2. 設定確認 show frame-relay mapコマンドでDLCIとip addressのマッピング情報を確認する事ができます。 (inverse ARPという仕組みにより自動的にマッピング情報が作成されますが、作成までにはある程度時間がかかります。私の環境の場合では、マッピング情報が作成されるまでに約1分間かかりました。) R1#show frame-relay map Serial0/0 (up) ip 192.168.1.2 dlci 101(0x65,0x1850), dynamic, broadcast,, status defined, active Serial0/1 (up) ip 192.168.2.2 dlci 201(0xC9,0x3090), dynamic, broadcast,, status defined, active R1# shoe frame-relay lmiによりLMIの設定を確認する事ができます。 R1#show frame-relay lmi LMI Statistics for interface Serial0/0 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 59 Num Status msgs Rcvd 59 Num Update Status Rcvd 0 Num Status Timeouts 0 Last Full Status Req 00 00 49 Last Full Status Rcvd 00 00 49 LMI Statistics for interface Serial0/1 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 56 Num Status msgs Rcvd 56 Num Update Status Rcvd 0 Num Status Timeouts 0 Last Full Status Req 00 00 16 Last Full Status Rcvd 00 00 16 R1# 4.3. 疎通確認 R1からR2への疎通が可能な事を確認します。 R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 24/63/136 ms R1# R1# R1#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/44/76 ms R1# 5. [検証] パケットの観察 5.1. パケットの観察 下記のようR1からR2へのpingを送信した際のパケットを観察します。 R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 24/63/136 ms R1# SW1 s0/0でパケットキャプチャした結果は以下の通りです。 IPのパケットがフレームリレーでカプセル化されている事が分かります。また、R1でDLCI 101が付加された事も読み取れます。 #ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (100%); SW1 s0/2でパケットキャプチャした結果は以下の通りです。 SW1で DLCI 101をDLCI 112に書き換えて転送している様子が読み取れます。SW1 s0/2, SW2 s0/2の間は、192.168.1.0/24と192.168.2.0/24のセグメントが相乗りしている事になりますが、フレームリレーはDLCIの情報を元に転送を行うので同一セグメントにパケットを転送する事ができます。 #ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (100%); 6. [検証] inverse ARPの動作確認 6.1. 概要 IP網でパケットを転送するにあたり、ip addressに対応するMACアドレスを調べてからパケットを転送します(RARP)。フレームリレー網でこの機能に相当するのがinverse ARPです。inverse ARPにより、ip addressに対応するDLCIを調べる事ができます。 6.2. 検証準備 debug frame-relay packetを有効にします。 R1#debug frame-relay packet Frame Relay packet debugging is on R1# frame-relay mapを削除し、削除された事をshowコマンドで確認します。 R1#clear frame-relay inarp R1# R1#show frame-relay map R1# 6.3. 疎通不能の確認 ip address 192.168.1.2に対応するDLCIが分からない状態では、pingが届かない事を確認します。 R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds *Mar 1 00 38 31.127 Serial0/0 Encaps failed--no map entry link 7(IP). *Mar 1 00 38 33.127 Serial0/0 Encaps failed--no map entry link 7(IP). *Mar 1 00 38 35.127 Serial0/0 Encaps failed--no map entry link 7(IP). *Mar 1 00 38 37.127 Serial0/0 Encaps failed--no map entry link 7(IP).! Success rate is 20 percent (1/5), round-trip min/avg/max = 64/64/64 ms R1# 6.4. inverse ARP の確認 しばらく待つと、inverse ARP Requestを送受信した旨のデバッグメッセージを確認できます。 R1# *Mar 1 00 38 38.747 Serial0/0(o) dlci 101(0x1851), pkt encaps 0x0300 0x8000 0x0000 0x806 (ARP), datagramsize 34 *Mar 1 00 38 38.751 FR Sending INARP Request on interface Serial0/0 dlci 101 for link 7(IP) *Mar 1 00 38 38.771 broadcast dequeue *Mar 1 00 38 38.771 Serial0/0(o) Pkt sent on dlci 101(0x1851), pkt encaps 0x300 0x8000 0x0 0x806 (ARP), datagramsize 34 *Mar 1 00 38 38.799 Serial0/0(i) dlci 101(0x1851), pkt encaps 0x0300 0x8000 0x0000 0x806 (ARP), datagramsize 34 *Mar 1 00 38 38.799 Serial0/0 frame relay INARP received *Mar 1 00 38 39.127 Serial0/0(o) dlci 101(0x1851), pkt type 0x800(IP), datagramsize 104 *Mar 1 00 38 39.187 Serial0/0(i) dlci 101(0x1851), pkt type 0x800, datagramsize 104 R1# *Mar 1 00 39 12.051 Serial0/1(o) dlci 201(0x3091), pkt encaps 0x0300 0x8000 0x0000 0x806 (ARP), datagramsize 34 *Mar 1 00 39 12.055 FR Sending INARP Request on interface Serial0/1 dlci 201 for link 7(IP) *Mar 1 00 39 12.075 broadcast dequeue *Mar 1 00 39 12.075 Serial0/1(o) Pkt sent on dlci 201(0x3091), pkt encaps 0x300 0x8000 0x0 0x806 (ARP), datagramsize 34 *Mar 1 00 39 12.127 Serial0/1(i) dlci 201(0x3091), pkt encaps 0x0300 0x8000 0x0000 0x806 (ARP), datagramsize 34 *Mar 1 00 39 12.127 Serial0/1 frame relay INARP received R1# R1# ip addressに対応するDLCIを解決できる事を確認します。 R1#show frame-relay map Serial0/0 (up) ip 192.168.1.2 dlci 101(0x65,0x1850), dynamic, broadcast,, status defined, active Serial0/1 (up) ip 192.168.2.2 dlci 201(0xC9,0x3090), dynamic, broadcast,, status defined, active R1# pingによる疎通が可能になった事を確認します。 R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/44/84 ms R1# 7. [検証] inverse ARP 無効時の設定 7.1. 設定投入 R1でinverse ARPを無効にします。 inverse ARPが無効である場合は、以下設定例のようにip addressとDLCIのマッピングを静的に定義する必要があります。 R1(config)#interface Serial 0/0 R1(config-if)#no frame-relay inverse-arp R1(config-if)#frame-relay map ip 192.168.1.2 101 R1(config-if)#exit R1(config)# R1(config)#interface Serial 0/1 R1(config-if)#no frame-relay inverse-arp R1(config-if)#frame-relay map ip 192.168.2.2 201 R1(config-if)#^Z R1# 7.2. 設定確認 ip addressとDLCIのマッピングが静的に定義されている事を確認します。 R1#clear frame-relay inarp R1# R1#show frame-relay map Serial0/0 (up) ip 192.168.1.2 dlci 101(0x65,0x1850), static, CISCO, status defined, active Serial0/1 (up) ip 192.168.2.2 dlci 201(0xC9,0x3090), static, CISCO, status defined, active R1# 7.3. 疎通確認 R1, R2間で疎通可能である事を確認します。 R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/40/92 ms R1# R1# R1#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 12/37/108 ms R1# 8. [補足] フレームリレーのパケットキャプチャ 8.1. フレームリレーのパケットキャプチャ フレームリレーをキャプチャする際は、ethernetの場合と指定方法が若干異なります。 dynagenのcaptureコマンドのhelpをご覧下さい。Frame-Relayの場合は、「FR」とlink-typeの指定が必要である事が分かり案す。 = capture [no] capture device interface filename [link-type] Begins a capture of all packets in and out of "interface" on "device". Enclose the filename in quotes if there are spaces in the filespec. The capture file is written to the dynamips host. Link type is one of ETH (Ethernet 10/100/1000) FR (Frame-Relay) HDLC (Cisco HDLC) PPP (PPP on serial) Captures of ethernet interfaces default to EN10MB, but for serial interf aces the link type must be specified. Examples capture R1 f0/0 example.cap -- Capture packets in and out of f0/0 on R1 and write the output to example.cap capture R1 s0/0 example2.cap HDLC -- Capture and specify HDLC encapsulation no capture R1 s0/0 -- End the packet capture = 実際のコマンドの例は以下の通りです。 = capture SW1 s0/0 sw1_00.cap FR = no capture SW1 s0/0 9. [補足] 設定ミス時の挙動 9.1. LMIが異なる場合 LMIは機器間で同じ規格を使用する必要があります。LMIが異なる場合の挙動について観察します。 SW1(config)#interface Serial 0/0 SW1(config-if)#frame-relay lmi-type q933a LMIが異なるとdown状態になる事が分かります。(LMIはkeep aliveの機能も備えているので) R1# *Mar 1 00 47 59.747 %LINEPROTO-5-UPDOWN Line protocol on Interface Serial0/0, changed state to down R1# 9.2. DCE, DTEが同じである場合 シリアルケーブルによる接続時は、一方をDCE, もう一方をDCEとして設定する必要があります。 両側がDTEになってしまった場合の挙動について観察します。 SW1(config)#interface Serial 0/1 SW1(config-if)#frame-relay intf-type dte 両側がDTEになるとdown状態になる事が分かります。 R1# *Mar 1 00 51 33.051 %LINEPROTO-5-UPDOWN Line protocol on Interface Serial0/1, changed state to down R1#
https://w.atwiki.jp/chocolate1120/pages/64.html
ifconfig macアドレス、ネットワークインターフェイスのIPアドレス、ネットマスクの確認 $ ifconfig -a 勝手なIPアドレスとゲートウェイアドレスの設定 # ifconfig eth0 IPアドレス netmask ネットマスク # route ←デフォルトルートのルータのIPアドレスを確認 # route del default gw デフォルトルートのルータのIPアドレス ←削除 # route add default gw 好きなIPアドレス ←付ける これらをもとに戻すなら↓ /etc/init.d/network restart
https://w.atwiki.jp/gtavi_gta6/pages/1916.html
US Route 11(国道11号線) imageプラグインエラー 画像URLまたは画像ファイル名を指定してください。 概要 日本語:国道11号線 業種:国道 所在地:ブレイン郡 解説 起点はリッチマンのN Rockford Driveの合流から。 終点はラゴザンクードのRoute 68の交差点まで。 国道11号線の別名称は Tongva Drive(トングバドライブ) モデルはカリフォルニア州にあるTopanga Canyon Boulevard 。 路線 道路番号 道路名 地名 備考(道路沿いの主な建築物など) US Route 14旧道14号線 ノース・ロックフォード・ドライブ Richman US Route 11国道11号線 US Route 11 Richman Ace Jones Driveとの交差点。 Richman Glen Banham Canyon Driveとの交差点。Marlow Driveとの交差点。LTD Oilリッチマングレン店 Tongva Valley 名称不明の川およびWhite Water Activity Center。パーキングエリア。 Lago Zancudo US Route 68国道68号線 Route 68 道路